#include <stdio.h>

int main(){
	int val = 0;
	printf("请输入一个数：");
	scanf("%d",&val);
	val = val >= 0 ? val : 0 - val;
	printf("%d\n",val);
	return 0;
	
	return 0;
}
